<%--
  Created by IntelliJ IDEA.
  User: Fan307
  Date: 2016/11/9
  Time: 8:54
  To change this template use File | Settings | File Templates.
--%>
<%--makeCertPic.jsp页面用于调用生成验证码图片的JavaBean，并在客户端显示，源代码如下：--%>
<%@page contentType="image/jpeg" %>
<%@page language="java" pageEncoding="utf-8"%>
<jsp:useBean id="image" scope="page" class="com.education.util.MakeCertPic"/>
<%
    String str = image.getCertPic(0,0,response.getOutputStream());
    //将验证码存入session中
    session.setAttribute("certCode",str);
%>
